<template>
  <div class="app-container home">
    <el-row :gutter="20">
      <el-col :sm="24" :lg="24" style="padding-left: 20px">
        <h2>zero-cloud后台管理框架</h2>
        <h3> zero-cloud 是基于若依开源框架，对前后端进行了自定义的深度封装（不兼容原来框架）</h3>
        <h3>* 前端基础框架与ruoyi-vue一致，将表单、表格等换成了vxe-table</h3>
        <h3>* 后端开发框架 Spring Boot 2.7.18</h3>
        <h3>* 权限认证框架 Sa-Token 支持多终端认证系统</h3>
        <h3>* 文件存储 Minio本地存储，集成了minio-plus</h3>
        <h3>* 文件存储 七牛、阿里、腾讯 云存储</h3>
        <h3>* Excel框架 FastExcel 性能优异 扩展性强</h3>
        <h2>* 自动建表 zero-acTable 可根据实体类同步表结构</h2>
        <p>
          <b>当前版本:</b> <span>v{{ version }}</span>
        </p>
        <p>
          <el-tag type="danger">&yen;免费开源</el-tag>
        </p>
        <p>
          <el-button
              type="primary"
              size="mini"
              icon="el-icon-cloudy"
              plain
              @click="goTarget('https://gitee.com/zero-wsh/zero-cloud-vue2')"
          >前端地址
          </el-button>
<!--          <el-button-->
<!--              size="mini"-->
<!--              icon="el-icon-s-home"-->
<!--              plain-->
<!--              @click="goTarget('https://gitee.com/zero-wsh/zero-cloud')"-->
<!--          >后端地址-->
<!--          </el-button>-->
          <el-button
              type="success"
              size="mini"
              icon="el-icon-star-off"
              plain
              @click="goTarget('https://gitee.com/zero-wsh/zero-acTable')"
          >自动建表
          </el-button
          >
        </p>
      </el-col>

    </el-row>
  </div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      // 版本号
      version: "1.0.1"
    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    }
  }
};
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }

  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }

  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }
}
</style>
